package com.hhit.bigscreenbackmanage.service.aqgl;

import com.github.pagehelper.PageInfo;
import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglFxCount;
import com.hhit.bigscreenbackmanage.vo.aqgl.AqglSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface AqglFxCountService {

    /**
     * @Description: 导入数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/21 16:23
     * @Param: [propName, files] 
     * @Return: Map<String,Object>
     **/
    Map<String,Object> importAgqlFxCount(String propName, MultipartFile[] files,String datetime) throws Exception;

    /**
     * @Description: 分页查询数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/21 16:29
     * @Param: [pageInfoVo] 
     * @Return: com.github.pagehelper.PageInfo
     **/
    PageInfo getAqglFxCountPageInfo(AqglSearchVo aqglSearchVo) throws Exception;

    /**
     * @Description: 获取风险作业数量统计对象信息
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 19:52
     * @Param: [cityName] 
     * @Return: com.hhit.bigscreenbackmanage.entity.aqgl.TAqglFxCount
     **/
    TAqglFxCount getAqglFxCountEntityByParam(String cityName) throws Exception;

    /**
     * @Description:
     * @Author: qianchengcheng 
     * @Date: 2021/7/28 11:20
     * @Param: [datetime, cityName] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglFxCount>
     **/
    List<TAqglFxCount> getAqglFxCounts(String datetime,String cityName) throws Exception;

    /**
     * @Description: 获取最新的一条数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/28 16:06
     * @Param: [datetime, cityName] 
     * @Return: com.hhit.bigscreenbackmanage.entity.aqgl.TAqglFxCount
     **/
    TAqglFxCount getAqglFxCountRecently(String datetime,String cityName) throws Exception;
}
